package com.hyt.it.ogt.ykcj.service.zs.impl;

import com.hyt.core.base.BaseEntity;
import com.hyt.core.base.BaseServiceImpl;
import com.hyt.it.ogt.ykcj.domain.zs.ZsExamineeExtInfo;
import com.hyt.it.ogt.ykcj.mapper.zs.ZsExamineeExtInfoMapper;
import com.hyt.it.ogt.ykcj.service.zs.IZsExamineeExtInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 证书考生信息接口
 *
 * @author admin
 * @date 2021-08-10
 */
@Slf4j
@Service
public class ZsExamineeExtInfoServiceImpl extends BaseServiceImpl<ZsExamineeExtInfoMapper, ZsExamineeExtInfo> implements IZsExamineeExtInfoService {


    @Override
    public List<ZsExamineeExtInfo> listByExamineeId(String examineeId) {
        return this.lambdaQuery()
                .eq(ZsExamineeExtInfo::getExamineeId, examineeId)
                .eq(BaseEntity::getDelFlag, Boolean.FALSE)
                .list();
    }
}
